﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="ForeProgram_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/frame.css" />
    <link rel="stylesheet" type="text/css" href="../css/register.css" />
    <script type="text/javascript" src="../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../Scripts/WebApplication.js"></script>
    <script type="text/javascript" src="../Scripts/BizCommon.js"></script>
    <script type="text/javascript" src="../Scripts/ScriptsConfiguration.js"></script>
    <script type="text/javascript" src="../Scripts/BizLogin.js"></script>
    
    <script type="text/javascript">
        $(document).ready(function () {
            $(this).keypress(function (e) {
                var key = window.event ? e.keyCode : e.which;
                if (key.toString() == '13') {
                    return Biz.Login.LoginCheck.Check();
                }
            });

        });
</script>
<script type="text/javascript">
    var Environment = { PageName: 'Login', UrlType: 'Secure', Url: 'http://localhost:2240/WebSite',
        ResourceRootPathName: 'ResourceSSLSite', BrandImageRootPathName: 'BrandImageSSLSite',
        ProductImageRootPathName: 'ProductImageSSLSite'
    };
</script>
</head>
<body>
    <form id="LoginForm" runat="server">
    <div id="wrap">
        <div id="body">
            <div id="register">
                <h1>
                    亲爱的会员，欢迎您登录
                </h1>
                <div class="content">
                    <div class="main">
                        <div id="login" class="modA">
                            <div class="modTop">
                                <h3>
                                    <span class="modATL">&nbsp;</span><span class="modATR">&nbsp;</span><em> 登录后，开始享受您的购物之旅
                                    </em>
                                </h3>
                            </div>
                            <div class="modBody">
                                <input type="hidden" id="action" name="action" value="" />
                                <div class="formList">
                                    <ul>
                                        <li>
                                            <label for="name">
                                                您的用户名：</label>
                                            <asp:TextBox ID="name" runat="server" MaxLength="50"></asp:TextBox>
                                            <em><span style='display: none' id='nameerror'></span></em></li>
                                        <li>
                                            <label for="pwd">
                                                您的密码：</label>
                                                <asp:TextBox ID="pwd" TextMode="Password" runat="server" MaxLength="50"></asp:TextBox>
                                            <em><span style='display: none' id='pwderror'>请输入正确的密码 </span></em></li>
                                    </ul>
                                    <div class="getBack">
                                        <a href="GetPassword.aspx" style="float: none;
                                            background: none">&nbsp;忘记密码？</a>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="btnArea">
                                        <a href="javascript:Biz.Login.LoginCheck.Check()" class="button buttonB"><span>登录 </span>
                                        </a>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
                            <div class="clear">
                            </div>
                            <div class="modBottom">
                                <span class="modABL">&nbsp;</span><span class="modABR">&nbsp;</span>
                            </div>
                        </div>
                    </div>
                    <div class="sidebar">
                        <div class="modE" id="member">
                            <h3>
                                新用户注册
                            </h3>
                            <div class="modBody">
                                <h4>
                                    注册后，您可立即享受
                                </h4>
                                <%--<ul>
                                    <li>卖场商品任您选，假一罚二 </li>
                                    <li>机打正规发票 </li>
                                    <li>七大分仓物流中心配送 </li>
                                </ul>--%>
                                <div class="enter">
                                    <a href="register.aspx" class="button buttonA"
                                        title="注册"><span><span class="buttonRightArrow">注册新用户 </span></span></a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <asp:Button ID="btnLogin" name="btnLogin" style="display:none;" runat="server" onclick="btnLogin_Click" Text="登陆" />
    </form>
</body>
</html>
